<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>dpdma: xdpdma_intr.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">dpdma
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xdpdma__intr_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xdpdma_intr.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file contains functions related to XDpPsu interrupt handling. </p>
<dl class="section note"><dt>Note</dt><dd>None.</dd></dl>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date     Changes
</p>
<hr/>
<p>
1.0   aad  01/17/17 Initial release.
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a1789f821f2b216d7693514352b300216"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdpdma__intr_8c.html#a1789f821f2b216d7693514352b300216">XDpDma_InterruptEnable</a> (XDpDma *InstancePtr, u32 Mask)</td></tr>
<tr class="memdesc:a1789f821f2b216d7693514352b300216"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the interrupts that are required.  <a href="#a1789f821f2b216d7693514352b300216">More...</a><br/></td></tr>
<tr class="separator:a1789f821f2b216d7693514352b300216"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a856c484c8e45df996ba6aa97f38392dd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdpdma__intr_8c.html#a856c484c8e45df996ba6aa97f38392dd">XDpDma_InterruptHandler</a> (XDpDma *InstancePtr)</td></tr>
<tr class="memdesc:a856c484c8e45df996ba6aa97f38392dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function handles the interrupts generated by DPDMA.  <a href="#a856c484c8e45df996ba6aa97f38392dd">More...</a><br/></td></tr>
<tr class="separator:a856c484c8e45df996ba6aa97f38392dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecdf54c8a3174a7547021952de639875"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xdpdma__intr_8c.html#aecdf54c8a3174a7547021952de639875">XDpDma_VSyncHandler</a> (XDpDma *InstancePtr)</td></tr>
<tr class="memdesc:aecdf54c8a3174a7547021952de639875"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function handles frame new frames on VSync.  <a href="#aecdf54c8a3174a7547021952de639875">More...</a><br/></td></tr>
<tr class="separator:aecdf54c8a3174a7547021952de639875"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a1789f821f2b216d7693514352b300216"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XDpDma_InterruptEnable </td>
          <td>(</td>
          <td class="paramtype">XDpDma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables the interrupts that are required. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is pointer to the instance of DPDMA</td></tr>
    <tr><td class="paramname">Mask</td><td>is mask to XDPDMA_IEN register</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xdpdma__hw_8h.html#a7bd98cc3f3b3d8929288e48f73f9fe6d">XDPDMA_IEN</a>, and <a class="el" href="xdpdma__hw_8h.html#a836430cbab9cc5f0fae3b5f2b54daca6">XDpDma_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xdpdma__video__example_8h.html#a6be070431bed335091e0e9feb7bea7ac">SetupInterrupts()</a>.</p>

</div>
</div>
<a class="anchor" id="a856c484c8e45df996ba6aa97f38392dd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XDpDma_InterruptHandler </td>
          <td>(</td>
          <td class="paramtype">XDpDma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function handles the interrupts generated by DPDMA. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is pointer to the instance of the DPDMA</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xdpdma__hw_8h.html#ace9e0daf87e3d7d42ac516869d89d444">XDPDMA_ISR</a>, <a class="el" href="xdpdma__hw_8h.html#a05137b71ce7a978700ba5c362704a646">XDpDma_ReadReg</a>, <a class="el" href="xdpdma_8c.html#af852eb781100e5f56cb62d9cc9887fb6">XDpDma_SetChannelState()</a>, <a class="el" href="xdpdma__intr_8c.html#aecdf54c8a3174a7547021952de639875">XDpDma_VSyncHandler()</a>, and <a class="el" href="xdpdma__hw_8h.html#a836430cbab9cc5f0fae3b5f2b54daca6">XDpDma_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xdpdma__video__example_8h.html#a6be070431bed335091e0e9feb7bea7ac">SetupInterrupts()</a>.</p>

</div>
</div>
<a class="anchor" id="aecdf54c8a3174a7547021952de639875"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XDpDma_VSyncHandler </td>
          <td>(</td>
          <td class="paramtype">XDpDma *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function handles frame new frames on VSync. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is pointer to the instance of the driver.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="xdpdma__hw_8h.html#ace9e0daf87e3d7d42ac516869d89d444">XDPDMA_ISR</a>, <a class="el" href="xdpdma_8c.html#a33d14a186926a53012087f81a4fd3f16">XDpDma_ReTrigger()</a>, <a class="el" href="xdpdma_8c.html#af852eb781100e5f56cb62d9cc9887fb6">XDpDma_SetChannelState()</a>, <a class="el" href="xdpdma_8c.html#a6699e959f7465984b1c4c9875fafe656">XDpDma_SetupChannel()</a>, <a class="el" href="xdpdma_8c.html#aa031afe32833d3c31cf50c1245d6a5a3">XDpDma_Trigger()</a>, and <a class="el" href="xdpdma__hw_8h.html#a836430cbab9cc5f0fae3b5f2b54daca6">XDpDma_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xdpdma__intr_8c.html#a856c484c8e45df996ba6aa97f38392dd">XDpDma_InterruptHandler()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
